#pragma once
#include "Epoll.h"
#include "Channel.h"
class EventLoop
{
public:
    EventLoop();
    ~EventLoop();

    void run();
    Epoll *getEpfd(); // 返回epfd_成员。 Epoll *ep();                     

private:
    Epoll *epfd_;
};